<form #docsForm action="/docs" target="_blank" method="post">
  <input type="hidden" name="token"/>
</form>

<div dropdown>
  <a dropdownToggle
     class="dropdown-toggle"
     data-toggle="dropdown"
     i18n-title
     title="Help">
    <i class="fa fa-fw fa-question-circle-o"></i>
    <span i18n
          class="visible-xs-inline-block">Help</span>
    <span class="caret"></span>
  </a>
  <ul *dropdownMenu
      class="dropdown-menu dropdown-menu-right">
    <li>
      <a i18n
         class="dropdown-item"
         [ngClass]="{'disabled': !docsUrl}"
         href="{{ docsUrl }}"
         target="_blank">Documentation</a>
    </li>
    <li>
      <a i18n
         class="dropdown-item"
         (click)="goToApiDocs()">API</a>
    </li>
    <li>
      <a i18n
         class="dropdown-item"
         (click)="openAboutModal()">About</a>
    </li>
  </ul>
</div>
